package com.thenie.mapper;

import com.thenie.pojo.Room;
import com.thenie.pojo.RoomType;
import com.thenie.vo.RoomTypeVo;

import java.util.List;

public interface RoomTypeMapper {
    /**
     * 查询房型列表
     * @param roomTypeVo
     * @return
     */
    public List<RoomType> findRoomTypeList(RoomTypeVo roomTypeVo);

    /**
     * 插入一条房型数据
     * @param roomType
     * @return
     */
    public int insertRoomType(RoomType roomType);

    /**
     * 修改房型信息
     * @param roomType
     * @return
     */
    public int updateRoomType(RoomType roomType);

    /**
     * 查询一条房型
     * @param id
     * @return
     */
    public RoomType selectRoomTypeById(int id);
}
